

package jetbrains.buildServer.server.graphql.model.mutation;

import jetbrains.buildServer.server.graphql.model.agentPool.AgentPool;
import jetbrains.buildServer.server.graphql.model.Project;
import org.jetbrains.annotations.NotNull;

public class UnassignProjectFromAgentPoolPayload {
  @NotNull
  private final Project myProject;
  @NotNull
  private final AgentPool myAgentPool;

  public UnassignProjectFromAgentPoolPayload(@NotNull Project project, @NotNull AgentPool agentPool) {
    myProject = project;
    myAgentPool = agentPool;
  }

  @NotNull
  public Project getProject() {
    return myProject;
  }

  @NotNull
  public AgentPool getAgentPool() {
    return myAgentPool;
  }
}